
using WooEngine.ConfigWork;
using WooEngine.ConfigWork.Table;
/**
* 初始化时使用的
**/
public class InitProto : ProtoTable<Init_data>
{
    public static InitProto Instance
    {
        get
        {
            if (instance == null)
            {
                instance = new InitProto();
            }
            return instance;
        }
    }
    private static InitProto instance;

    public override void LoadData()
    {
        initWithData(ConfigManager.Instance.GetConfigFileData(Init_data.CLASS_NAME));
    }
}

public class Init_data : ProtoDataBase
{
    public static string CLASS_NAME = "init_data";

    // 说明
	private string content;
	

    protected override void initData(JSONObject[] data)
    {
        this.content = data[0].str;
		
    }

    // 说明
	public string GetContent(){
		return LangManager.Instance.GetLocalString( content);
	}
	
}
